How do I create/manage own language ressource files?

Hello

There is a command "LS_" in the doors manual. This command requires a ressource file in $DoorsHome\language.

The following command works well, I've tested it in an English doors and a German.

print LS_("String_A_failure_occurred_attempting_to_lock_section_s_within_n_module_s", "String nicht gefunden", "DXL") "\n"

Does anyone have an idea how to manage this type of ressource files?

It seems that $DoorsHome\language is a fixed value. But this is a local directory. Does anyone have any idea to include a file server directory?

Thanks for every help.

Best regars

Wolfgang

 


Wolfgang Uhr - Thu Sep 25 03:45:52 EDT 2014

Re: How do I create/manage an own language ressource files?
Mathias Mamsch - Thu Sep 25 04:15:41 EDT 2014

I think I posted a little walkthrough on using these perms here:

https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014299623

I found however that the deployment problem (copying the language files to the DOORS Interpreter Directory) is kind of a turn off ... However if you find out, how to make the DOORS interpreter look for language files in different locations, this could be much more useful.

Regards, Mathias

Re: How do I create/manage an own language ressource files?
Wolfgang Uhr - Thu Sep 25 04:43:33 EDT 2014

Mathias Mamsch - Thu Sep 25 04:15:41 EDT 2014

I think I posted a little walkthrough on using these perms here:

https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014299623

I found however that the deployment problem (copying the language files to the DOORS Interpreter Directory) is kind of a turn off ... However if you find out, how to make the DOORS interpreter look for language files in different locations, this could be much more useful.

Regards, Mathias

Hello Mathias

Thanks for the link.

> However if you find out, how to make the DOORS interpreter look for language files in different locations, this could be much more useful.

Oh, this I've allread found.

http://pic.dhe.ibm.com/infocenter/doorshlp/v9r5/index.jsp?topic=%2Fcom.ibm.doors.administering.doc%2Ftopics%2Ft_changelanguage.html

You have to

  • change the environment variable ICULOCALE (instead of en you have to use root) (you need local admin priviledges)
  • restart doors

Best regards

Wolfgang